package com.ht.system.domain;

import com.ht.common.core.annotation.Excel;
import com.ht.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 企业备案对象 b_enterprise_info
 *
 * @author zmx
 * @date 2025-03-22
 */
public class EnterpriseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 企业信用代码 */
    @Excel(name = "企业信用代码")
    private String entCode;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String entName;



    /** 企业简称 */
    @Excel(name = "企业简称")
    private String entShortName;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkman;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String address;

    /** 报关资质,0-没资质,1-有资质 */
    @Excel(name = "报关资质,0-没资质,1-有资质")
    private String cdqMark;

    /** 企业状态（1-正常 0-停用） */
    @Excel(name = "企业状态", readConverterExp = "1=-正常,0=-停用")
    private String status;

    /** 企业类型：1-报关企业；2-货主企业 */
    @Excel(name = "企业类型：1-报关企业；2-货主企业")
    private String entType;

    /**
     * 场所企业类型，场所代码不能为空
     */
    private String fieldCode;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String licenseImg;
    /**
     * 平台列表，多个用逗号分割
     */
    private String platformCodes;

    private List<EnterpriseOper> operList;
    private List<EnterpriseFieldAuth> fieldAuthList;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setEntCode(String entCode)
    {
        this.entCode = entCode;
    }

    public String getEntCode()
    {
        return entCode;
    }
    public void setEntName(String entName)
    {
        this.entName = entName;
    }

    public String getEntName()
    {
        return entName;
    }
    public void setEntShortName(String entShortName)
    {
        this.entShortName = entShortName;
    }

    public String getEntShortName()
    {
        return entShortName;
    }
    public void setLegalPerson(String legalPerson)
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson()
    {
        return legalPerson;
    }
    public void setLinkman(String linkman)
    {
        this.linkman = linkman;
    }

    public String getLinkman()
    {
        return linkman;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setCdqMark(String cdqMark)
    {
        this.cdqMark = cdqMark;
    }

    public String getCdqMark()
    {
        return cdqMark;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setEntType(String entType)
    {
        this.entType = entType;
    }

    public String getEntType()
    {
        return entType;
    }
    public void setLicenseImg(String licenseImg)
    {
        this.licenseImg = licenseImg;
    }

    public String getLicenseImg()
    {
        return licenseImg;
    }

	public String getPlatformCodes() {
		return platformCodes;
	}

	public void setPlatformCodes(String platformCodes) {
		this.platformCodes = platformCodes;
	}

    public List<EnterpriseOper> getOperList() {
        return operList;
    }

    public void setOperList(List<EnterpriseOper> operList) {
        this.operList = operList;
    }

    public List<EnterpriseFieldAuth> getFieldAuthList() {
        return fieldAuthList;
    }

    public void setFieldAuthList(List<EnterpriseFieldAuth> fieldAuthList) {
        this.fieldAuthList = fieldAuthList;
    }

    public String getFieldCode() {
        return fieldCode;
    }

    public void setFieldCode(String fieldCode) {
        this.fieldCode = fieldCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entCode", getEntCode())
            .append("entName", getEntName())
            .append("entShortName", getEntShortName())
            .append("legalPerson", getLegalPerson())
            .append("linkman", getLinkman())
            .append("telephone", getTelephone())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("cdqMark", getCdqMark())
            .append("status", getStatus())
            .append("entType", getEntType())
            .append("licenseImg", getLicenseImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
